# mysql_crud.py
from .database import mysql_db

async def get_mysql_users():
    query = "SELECT * FROM users"
    return await mysql_db.fetch_all(query)

async def create_mysql_user(name: str):
    query = "INSERT INTO users (name) VALUES (:name)"
    return await mysql_db.execute(query, values={"name": name})